using switch statements in php